<?php
	$banner = new Post();
	$data = $banner->getByMenu("bannerleft");
	$obj = new Menu();
	$obj->loadByKeyLang("bannerleft",$lang);
?>
<div class="ben-section">
    <div class="ben-section-title"><?php echo $obj->MenuName?></div>
    <div class="ben-section-content">
 	<?php foreach($data as $item) {?>
    <?php
    
	$obj->loadByKeyLang($item['NewsTypeID'],$lang);
	
	?>
    	<p>
    		<a class="islink" href="<?php echo $obj->createLink($obj,$lang).$item['PostID'] ?>"><img src='<?php echo $img->resizePNG($item['ImagePath'],198,198)?>' class='ben-center' /></a>
        </p>
    <?php } ?>
    </div>
    <div class="clearer">&nbsp;</div>
</div>